// ******************************************************************
// * Copyright(c)  Steven Lu
// * Description   : Schema_INV_WAREHOUSE_QUANTITY
// * CreateDate    : 2011/9/27 11:24:17
// * Creater       : CodeSmith
// * LastChangeDate: 2011/9/27 11:24:17
// * LastChanger   : 2011/9/27 11:24:17
// * Version Info  : 1.0 For ESOL
// ******************************************************************

using System;
using System.Collections.Generic;
using System.Text;
using Suzsoft.Smart.EntityCore;

namespace ESOL.Common.Schema
{
  	[Serializable]
    public partial class InvWarehouseQuantityTable : TableInfo
    {
		public const string C_TableName = "INV_WAREHOUSE_QUANTITY";
		
		public const string C_WAREHOUSE_CODE = "WAREHOUSE_CODE";
		public const string C_PRODUCT_ID = "PRODUCT_ID";
		public const string C_SECURITY_QTY = "SECURITY_QTY";
		public const string C_OCCUPIED_QTY = "OCCUPIED_QTY";
		public const string C_PLAN_ARRIVED_QTY = "PLAN_ARRIVED_QTY";
		
		public InvWarehouseQuantityTable()
        {
            _tableName = "INV_WAREHOUSE_QUANTITY";
        }
		
		protected static InvWarehouseQuantityTable _current;
        public static InvWarehouseQuantityTable Current
        {
            get
            {
                if (_current == null)
                {
                    Initial();
                }
                return _current;
            }
        }
		
		private static void Initial()
        {
            _current = new InvWarehouseQuantityTable();

            _current.Add(C_WAREHOUSE_CODE, new ColumnInfo(C_WAREHOUSE_CODE,"WarehouseCode", true, typeof(string)));
            _current.Add(C_PRODUCT_ID, new ColumnInfo(C_PRODUCT_ID,"ProductId", true, typeof(string)));
            _current.Add(C_SECURITY_QTY, new ColumnInfo(C_SECURITY_QTY,"SecurityQty", false, typeof(decimal)));
            _current.Add(C_OCCUPIED_QTY, new ColumnInfo(C_OCCUPIED_QTY,"OccupiedQty", false, typeof(decimal)));
            _current.Add(C_PLAN_ARRIVED_QTY, new ColumnInfo(C_PLAN_ARRIVED_QTY,"PlanArrivedQty", false, typeof(decimal)));
			
		}
		
		public ColumnInfo WAREHOUSE_CODE
        {
            get { return this[C_WAREHOUSE_CODE]; }
        }
		
		public ColumnInfo PRODUCT_ID
        {
            get { return this[C_PRODUCT_ID]; }
        }
		
		public ColumnInfo SECURITY_QTY
        {
            get { return this[C_SECURITY_QTY]; }
        }
		
		public ColumnInfo OCCUPIED_QTY
        {
            get { return this[C_OCCUPIED_QTY]; }
        }
		
		public ColumnInfo PLAN_ARRIVED_QTY
        {
            get { return this[C_PLAN_ARRIVED_QTY]; }
        }
		
		
		
	}
}

